Skip to content

refactor(create-expert): unify Perstack Properties with PS-XXX format#371

Merged
FL4TLiN3 merged 1 commit intomainfrom
refactor/360-unify-properties
Jan 3, 2026
Merged

refactor(create-expert): unify Perstack Properties with PS-XXX format#371
FL4TLiN3 merged 1 commit intomainfrom
refactor/360-unify-properties

Conversation

@FL4TLiN3
Copy link
Contributor

@FL4TLiN3 FL4TLiN3 commented Jan 3, 2026

Summary

Align property definitions between create-expert-toml.ts and agents-md-template.ts using a consistent PS-XXX format.

Changes

Both files now share the same property taxonomy:

Security (PS-SEC):

  • PS-SEC-01: Minimal tool access - uses pick for only needed tools
  • PS-SEC-02: Minimal environment - uses requiredEnv for only needed variables
  • PS-SEC-03: Maintains boundaries - protects internal information

Design (PS-DESIGN/PS-INST):

  • PS-DESIGN-01: Single responsibility - does one thing well
  • PS-INST-01: Declarative instructions - policies not procedures
  • PS-INST-02: Contains domain knowledge

Output (PS-OUT):

  • PS-OUT-01: Uses attemptCompletion for final output
  • PS-OUT-02: Error handling - graceful with helpful messages

Closes #360

🤖 Generated with Claude Code


Note

Unifies Perstack property definitions across templates/instructions using a consistent PS-XXX taxonomy.

  • Aligns apps/create-expert/src/lib/create-expert-toml.ts and apps/create-expert/src/lib/agents-md-template.ts to shared PS categories: PS-SEC, PS-DESIGN/PS-INST, PS-OUT
  • Replaces prior generic bullets with explicit items (e.g., adds PS-SEC-03, clarifies attemptCompletion and error handling) in both files
  • Adds .changeset/unify-perstack-properties.md documenting the patch

Written by Cursor Bugbot for commit f3192b1. This will update automatically on new commits. Configure here.

Align property definitions between create-expert-toml.ts and agents-md-template.ts:
- PS-SEC-01/02/03: Security properties
- PS-DESIGN-01: Single responsibility
- PS-INST-01/02: Instruction properties
- PS-OUT-01/02: Output properties

Closes #360
@codecov
Copy link

codecov bot commented Jan 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@FL4TLiN3 FL4TLiN3 merged commit 77eebb0 into main Jan 3, 2026
7 checks passed
@FL4TLiN3 FL4TLiN3 deleted the refactor/360-unify-properties branch January 3, 2026 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor: property-extractor's Perstack Properties list is incomplete

1 participant